package com.shuang.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DbOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DbOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOIdIsNull() {
            addCriterion("o_id is null");
            return (Criteria) this;
        }

        public Criteria andOIdIsNotNull() {
            addCriterion("o_id is not null");
            return (Criteria) this;
        }

        public Criteria andOIdEqualTo(Long value) {
            addCriterion("o_id =", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdNotEqualTo(Long value) {
            addCriterion("o_id <>", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdGreaterThan(Long value) {
            addCriterion("o_id >", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdGreaterThanOrEqualTo(Long value) {
            addCriterion("o_id >=", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdLessThan(Long value) {
            addCriterion("o_id <", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdLessThanOrEqualTo(Long value) {
            addCriterion("o_id <=", value, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdIn(List<Long> values) {
            addCriterion("o_id in", values, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdNotIn(List<Long> values) {
            addCriterion("o_id not in", values, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdBetween(Long value1, Long value2) {
            addCriterion("o_id between", value1, value2, "oId");
            return (Criteria) this;
        }

        public Criteria andOIdNotBetween(Long value1, Long value2) {
            addCriterion("o_id not between", value1, value2, "oId");
            return (Criteria) this;
        }

        public Criteria andUIdIsNull() {
            addCriterion("u_id is null");
            return (Criteria) this;
        }

        public Criteria andUIdIsNotNull() {
            addCriterion("u_id is not null");
            return (Criteria) this;
        }

        public Criteria andUIdEqualTo(Long value) {
            addCriterion("u_id =", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotEqualTo(Long value) {
            addCriterion("u_id <>", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThan(Long value) {
            addCriterion("u_id >", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThanOrEqualTo(Long value) {
            addCriterion("u_id >=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThan(Long value) {
            addCriterion("u_id <", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThanOrEqualTo(Long value) {
            addCriterion("u_id <=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdIn(List<Long> values) {
            addCriterion("u_id in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotIn(List<Long> values) {
            addCriterion("u_id not in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdBetween(Long value1, Long value2) {
            addCriterion("u_id between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotBetween(Long value1, Long value2) {
            addCriterion("u_id not between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeIsNull() {
            addCriterion("o_create_time is null");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeIsNotNull() {
            addCriterion("o_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeEqualTo(Date value) {
            addCriterion("o_create_time =", value, "oCreateTime");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeNotEqualTo(Date value) {
            addCriterion("o_create_time <>", value, "oCreateTime");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeGreaterThan(Date value) {
            addCriterion("o_create_time >", value, "oCreateTime");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("o_create_time >=", value, "oCreateTime");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeLessThan(Date value) {
            addCriterion("o_create_time <", value, "oCreateTime");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("o_create_time <=", value, "oCreateTime");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeIn(List<Date> values) {
            addCriterion("o_create_time in", values, "oCreateTime");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeNotIn(List<Date> values) {
            addCriterion("o_create_time not in", values, "oCreateTime");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeBetween(Date value1, Date value2) {
            addCriterion("o_create_time between", value1, value2, "oCreateTime");
            return (Criteria) this;
        }

        public Criteria andOCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("o_create_time not between", value1, value2, "oCreateTime");
            return (Criteria) this;
        }

        public Criteria andRiInfoIsNull() {
            addCriterion("ri_info is null");
            return (Criteria) this;
        }

        public Criteria andRiInfoIsNotNull() {
            addCriterion("ri_info is not null");
            return (Criteria) this;
        }

        public Criteria andRiInfoEqualTo(String value) {
            addCriterion("ri_info =", value, "riInfo");
            return (Criteria) this;
        }

        public Criteria andRiInfoNotEqualTo(String value) {
            addCriterion("ri_info <>", value, "riInfo");
            return (Criteria) this;
        }

        public Criteria andRiInfoGreaterThan(String value) {
            addCriterion("ri_info >", value, "riInfo");
            return (Criteria) this;
        }

        public Criteria andRiInfoGreaterThanOrEqualTo(String value) {
            addCriterion("ri_info >=", value, "riInfo");
            return (Criteria) this;
        }

        public Criteria andRiInfoLessThan(String value) {
            addCriterion("ri_info <", value, "riInfo");
            return (Criteria) this;
        }

        public Criteria andRiInfoLessThanOrEqualTo(String value) {
            addCriterion("ri_info <=", value, "riInfo");
            return (Criteria) this;
        }

        public Criteria andRiInfoLike(String value) {
            addCriterion("ri_info like", value, "riInfo");
            return (Criteria) this;
        }

        public Criteria andRiInfoNotLike(String value) {
            addCriterion("ri_info not like", value, "riInfo");
            return (Criteria) this;
        }

        public Criteria andRiInfoIn(List<String> values) {
            addCriterion("ri_info in", values, "riInfo");
            return (Criteria) this;
        }

        public Criteria andRiInfoNotIn(List<String> values) {
            addCriterion("ri_info not in", values, "riInfo");
            return (Criteria) this;
        }

        public Criteria andRiInfoBetween(String value1, String value2) {
            addCriterion("ri_info between", value1, value2, "riInfo");
            return (Criteria) this;
        }

        public Criteria andRiInfoNotBetween(String value1, String value2) {
            addCriterion("ri_info not between", value1, value2, "riInfo");
            return (Criteria) this;
        }

        public Criteria andOStatusIsNull() {
            addCriterion("o_status is null");
            return (Criteria) this;
        }

        public Criteria andOStatusIsNotNull() {
            addCriterion("o_status is not null");
            return (Criteria) this;
        }

        public Criteria andOStatusEqualTo(Short value) {
            addCriterion("o_status =", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusNotEqualTo(Short value) {
            addCriterion("o_status <>", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusGreaterThan(Short value) {
            addCriterion("o_status >", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("o_status >=", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusLessThan(Short value) {
            addCriterion("o_status <", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusLessThanOrEqualTo(Short value) {
            addCriterion("o_status <=", value, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusIn(List<Short> values) {
            addCriterion("o_status in", values, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusNotIn(List<Short> values) {
            addCriterion("o_status not in", values, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusBetween(Short value1, Short value2) {
            addCriterion("o_status between", value1, value2, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOStatusNotBetween(Short value1, Short value2) {
            addCriterion("o_status not between", value1, value2, "oStatus");
            return (Criteria) this;
        }

        public Criteria andOAuditIsNull() {
            addCriterion("o_audit is null");
            return (Criteria) this;
        }

        public Criteria andOAuditIsNotNull() {
            addCriterion("o_audit is not null");
            return (Criteria) this;
        }

        public Criteria andOAuditEqualTo(Short value) {
            addCriterion("o_audit =", value, "oAudit");
            return (Criteria) this;
        }

        public Criteria andOAuditNotEqualTo(Short value) {
            addCriterion("o_audit <>", value, "oAudit");
            return (Criteria) this;
        }

        public Criteria andOAuditGreaterThan(Short value) {
            addCriterion("o_audit >", value, "oAudit");
            return (Criteria) this;
        }

        public Criteria andOAuditGreaterThanOrEqualTo(Short value) {
            addCriterion("o_audit >=", value, "oAudit");
            return (Criteria) this;
        }

        public Criteria andOAuditLessThan(Short value) {
            addCriterion("o_audit <", value, "oAudit");
            return (Criteria) this;
        }

        public Criteria andOAuditLessThanOrEqualTo(Short value) {
            addCriterion("o_audit <=", value, "oAudit");
            return (Criteria) this;
        }

        public Criteria andOAuditIn(List<Short> values) {
            addCriterion("o_audit in", values, "oAudit");
            return (Criteria) this;
        }

        public Criteria andOAuditNotIn(List<Short> values) {
            addCriterion("o_audit not in", values, "oAudit");
            return (Criteria) this;
        }

        public Criteria andOAuditBetween(Short value1, Short value2) {
            addCriterion("o_audit between", value1, value2, "oAudit");
            return (Criteria) this;
        }

        public Criteria andOAuditNotBetween(Short value1, Short value2) {
            addCriterion("o_audit not between", value1, value2, "oAudit");
            return (Criteria) this;
        }

        public Criteria andUOIdIsNull() {
            addCriterion("u_o_id is null");
            return (Criteria) this;
        }

        public Criteria andUOIdIsNotNull() {
            addCriterion("u_o_id is not null");
            return (Criteria) this;
        }

        public Criteria andUOIdEqualTo(Long value) {
            addCriterion("u_o_id =", value, "uOId");
            return (Criteria) this;
        }

        public Criteria andUOIdNotEqualTo(Long value) {
            addCriterion("u_o_id <>", value, "uOId");
            return (Criteria) this;
        }

        public Criteria andUOIdGreaterThan(Long value) {
            addCriterion("u_o_id >", value, "uOId");
            return (Criteria) this;
        }

        public Criteria andUOIdGreaterThanOrEqualTo(Long value) {
            addCriterion("u_o_id >=", value, "uOId");
            return (Criteria) this;
        }

        public Criteria andUOIdLessThan(Long value) {
            addCriterion("u_o_id <", value, "uOId");
            return (Criteria) this;
        }

        public Criteria andUOIdLessThanOrEqualTo(Long value) {
            addCriterion("u_o_id <=", value, "uOId");
            return (Criteria) this;
        }

        public Criteria andUOIdIn(List<Long> values) {
            addCriterion("u_o_id in", values, "uOId");
            return (Criteria) this;
        }

        public Criteria andUOIdNotIn(List<Long> values) {
            addCriterion("u_o_id not in", values, "uOId");
            return (Criteria) this;
        }

        public Criteria andUOIdBetween(Long value1, Long value2) {
            addCriterion("u_o_id between", value1, value2, "uOId");
            return (Criteria) this;
        }

        public Criteria andUOIdNotBetween(Long value1, Long value2) {
            addCriterion("u_o_id not between", value1, value2, "uOId");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyIsNull() {
            addCriterion("o_total_monmy is null");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyIsNotNull() {
            addCriterion("o_total_monmy is not null");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyEqualTo(Long value) {
            addCriterion("o_total_monmy =", value, "oTotalMonmy");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyNotEqualTo(Long value) {
            addCriterion("o_total_monmy <>", value, "oTotalMonmy");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyGreaterThan(Long value) {
            addCriterion("o_total_monmy >", value, "oTotalMonmy");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyGreaterThanOrEqualTo(Long value) {
            addCriterion("o_total_monmy >=", value, "oTotalMonmy");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyLessThan(Long value) {
            addCriterion("o_total_monmy <", value, "oTotalMonmy");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyLessThanOrEqualTo(Long value) {
            addCriterion("o_total_monmy <=", value, "oTotalMonmy");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyIn(List<Long> values) {
            addCriterion("o_total_monmy in", values, "oTotalMonmy");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyNotIn(List<Long> values) {
            addCriterion("o_total_monmy not in", values, "oTotalMonmy");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyBetween(Long value1, Long value2) {
            addCriterion("o_total_monmy between", value1, value2, "oTotalMonmy");
            return (Criteria) this;
        }

        public Criteria andOTotalMonmyNotBetween(Long value1, Long value2) {
            addCriterion("o_total_monmy not between", value1, value2, "oTotalMonmy");
            return (Criteria) this;
        }

        public Criteria andOPaymentIsNull() {
            addCriterion("o_payment is null");
            return (Criteria) this;
        }

        public Criteria andOPaymentIsNotNull() {
            addCriterion("o_payment is not null");
            return (Criteria) this;
        }

        public Criteria andOPaymentEqualTo(Long value) {
            addCriterion("o_payment =", value, "oPayment");
            return (Criteria) this;
        }

        public Criteria andOPaymentNotEqualTo(Long value) {
            addCriterion("o_payment <>", value, "oPayment");
            return (Criteria) this;
        }

        public Criteria andOPaymentGreaterThan(Long value) {
            addCriterion("o_payment >", value, "oPayment");
            return (Criteria) this;
        }

        public Criteria andOPaymentGreaterThanOrEqualTo(Long value) {
            addCriterion("o_payment >=", value, "oPayment");
            return (Criteria) this;
        }

        public Criteria andOPaymentLessThan(Long value) {
            addCriterion("o_payment <", value, "oPayment");
            return (Criteria) this;
        }

        public Criteria andOPaymentLessThanOrEqualTo(Long value) {
            addCriterion("o_payment <=", value, "oPayment");
            return (Criteria) this;
        }

        public Criteria andOPaymentIn(List<Long> values) {
            addCriterion("o_payment in", values, "oPayment");
            return (Criteria) this;
        }

        public Criteria andOPaymentNotIn(List<Long> values) {
            addCriterion("o_payment not in", values, "oPayment");
            return (Criteria) this;
        }

        public Criteria andOPaymentBetween(Long value1, Long value2) {
            addCriterion("o_payment between", value1, value2, "oPayment");
            return (Criteria) this;
        }

        public Criteria andOPaymentNotBetween(Long value1, Long value2) {
            addCriterion("o_payment not between", value1, value2, "oPayment");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeIsNull() {
            addCriterion("o_payment_time is null");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeIsNotNull() {
            addCriterion("o_payment_time is not null");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeEqualTo(Date value) {
            addCriterion("o_payment_time =", value, "oPaymentTime");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeNotEqualTo(Date value) {
            addCriterion("o_payment_time <>", value, "oPaymentTime");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeGreaterThan(Date value) {
            addCriterion("o_payment_time >", value, "oPaymentTime");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("o_payment_time >=", value, "oPaymentTime");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeLessThan(Date value) {
            addCriterion("o_payment_time <", value, "oPaymentTime");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeLessThanOrEqualTo(Date value) {
            addCriterion("o_payment_time <=", value, "oPaymentTime");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeIn(List<Date> values) {
            addCriterion("o_payment_time in", values, "oPaymentTime");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeNotIn(List<Date> values) {
            addCriterion("o_payment_time not in", values, "oPaymentTime");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeBetween(Date value1, Date value2) {
            addCriterion("o_payment_time between", value1, value2, "oPaymentTime");
            return (Criteria) this;
        }

        public Criteria andOPaymentTimeNotBetween(Date value1, Date value2) {
            addCriterion("o_payment_time not between", value1, value2, "oPaymentTime");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeIsNull() {
            addCriterion("o_payment_type is null");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeIsNotNull() {
            addCriterion("o_payment_type is not null");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeEqualTo(String value) {
            addCriterion("o_payment_type =", value, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeNotEqualTo(String value) {
            addCriterion("o_payment_type <>", value, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeGreaterThan(String value) {
            addCriterion("o_payment_type >", value, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeGreaterThanOrEqualTo(String value) {
            addCriterion("o_payment_type >=", value, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeLessThan(String value) {
            addCriterion("o_payment_type <", value, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeLessThanOrEqualTo(String value) {
            addCriterion("o_payment_type <=", value, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeLike(String value) {
            addCriterion("o_payment_type like", value, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeNotLike(String value) {
            addCriterion("o_payment_type not like", value, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeIn(List<String> values) {
            addCriterion("o_payment_type in", values, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeNotIn(List<String> values) {
            addCriterion("o_payment_type not in", values, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeBetween(String value1, String value2) {
            addCriterion("o_payment_type between", value1, value2, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOPaymentTypeNotBetween(String value1, String value2) {
            addCriterion("o_payment_type not between", value1, value2, "oPaymentType");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeIsNull() {
            addCriterion("o_success_time is null");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeIsNotNull() {
            addCriterion("o_success_time is not null");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeEqualTo(Date value) {
            addCriterion("o_success_time =", value, "oSuccessTime");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeNotEqualTo(Date value) {
            addCriterion("o_success_time <>", value, "oSuccessTime");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeGreaterThan(Date value) {
            addCriterion("o_success_time >", value, "oSuccessTime");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("o_success_time >=", value, "oSuccessTime");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeLessThan(Date value) {
            addCriterion("o_success_time <", value, "oSuccessTime");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeLessThanOrEqualTo(Date value) {
            addCriterion("o_success_time <=", value, "oSuccessTime");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeIn(List<Date> values) {
            addCriterion("o_success_time in", values, "oSuccessTime");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeNotIn(List<Date> values) {
            addCriterion("o_success_time not in", values, "oSuccessTime");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeBetween(Date value1, Date value2) {
            addCriterion("o_success_time between", value1, value2, "oSuccessTime");
            return (Criteria) this;
        }

        public Criteria andOSuccessTimeNotBetween(Date value1, Date value2) {
            addCriterion("o_success_time not between", value1, value2, "oSuccessTime");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeIsNull() {
            addCriterion("o_update_time is null");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeIsNotNull() {
            addCriterion("o_update_time is not null");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeEqualTo(Date value) {
            addCriterion("o_update_time =", value, "oUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeNotEqualTo(Date value) {
            addCriterion("o_update_time <>", value, "oUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeGreaterThan(Date value) {
            addCriterion("o_update_time >", value, "oUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("o_update_time >=", value, "oUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeLessThan(Date value) {
            addCriterion("o_update_time <", value, "oUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("o_update_time <=", value, "oUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeIn(List<Date> values) {
            addCriterion("o_update_time in", values, "oUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeNotIn(List<Date> values) {
            addCriterion("o_update_time not in", values, "oUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("o_update_time between", value1, value2, "oUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("o_update_time not between", value1, value2, "oUpdateTime");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeIsNull() {
            addCriterion("o_close_time is null");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeIsNotNull() {
            addCriterion("o_close_time is not null");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeEqualTo(Date value) {
            addCriterion("o_close_time =", value, "oCloseTime");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeNotEqualTo(Date value) {
            addCriterion("o_close_time <>", value, "oCloseTime");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeGreaterThan(Date value) {
            addCriterion("o_close_time >", value, "oCloseTime");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("o_close_time >=", value, "oCloseTime");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeLessThan(Date value) {
            addCriterion("o_close_time <", value, "oCloseTime");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeLessThanOrEqualTo(Date value) {
            addCriterion("o_close_time <=", value, "oCloseTime");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeIn(List<Date> values) {
            addCriterion("o_close_time in", values, "oCloseTime");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeNotIn(List<Date> values) {
            addCriterion("o_close_time not in", values, "oCloseTime");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeBetween(Date value1, Date value2) {
            addCriterion("o_close_time between", value1, value2, "oCloseTime");
            return (Criteria) this;
        }

        public Criteria andOCloseTimeNotBetween(Date value1, Date value2) {
            addCriterion("o_close_time not between", value1, value2, "oCloseTime");
            return (Criteria) this;
        }

        public Criteria andOShippingNameIsNull() {
            addCriterion("o_shipping_name is null");
            return (Criteria) this;
        }

        public Criteria andOShippingNameIsNotNull() {
            addCriterion("o_shipping_name is not null");
            return (Criteria) this;
        }

        public Criteria andOShippingNameEqualTo(String value) {
            addCriterion("o_shipping_name =", value, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingNameNotEqualTo(String value) {
            addCriterion("o_shipping_name <>", value, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingNameGreaterThan(String value) {
            addCriterion("o_shipping_name >", value, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingNameGreaterThanOrEqualTo(String value) {
            addCriterion("o_shipping_name >=", value, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingNameLessThan(String value) {
            addCriterion("o_shipping_name <", value, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingNameLessThanOrEqualTo(String value) {
            addCriterion("o_shipping_name <=", value, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingNameLike(String value) {
            addCriterion("o_shipping_name like", value, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingNameNotLike(String value) {
            addCriterion("o_shipping_name not like", value, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingNameIn(List<String> values) {
            addCriterion("o_shipping_name in", values, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingNameNotIn(List<String> values) {
            addCriterion("o_shipping_name not in", values, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingNameBetween(String value1, String value2) {
            addCriterion("o_shipping_name between", value1, value2, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingNameNotBetween(String value1, String value2) {
            addCriterion("o_shipping_name not between", value1, value2, "oShippingName");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeIsNull() {
            addCriterion("o_shipping_code is null");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeIsNotNull() {
            addCriterion("o_shipping_code is not null");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeEqualTo(String value) {
            addCriterion("o_shipping_code =", value, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeNotEqualTo(String value) {
            addCriterion("o_shipping_code <>", value, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeGreaterThan(String value) {
            addCriterion("o_shipping_code >", value, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeGreaterThanOrEqualTo(String value) {
            addCriterion("o_shipping_code >=", value, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeLessThan(String value) {
            addCriterion("o_shipping_code <", value, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeLessThanOrEqualTo(String value) {
            addCriterion("o_shipping_code <=", value, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeLike(String value) {
            addCriterion("o_shipping_code like", value, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeNotLike(String value) {
            addCriterion("o_shipping_code not like", value, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeIn(List<String> values) {
            addCriterion("o_shipping_code in", values, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeNotIn(List<String> values) {
            addCriterion("o_shipping_code not in", values, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeBetween(String value1, String value2) {
            addCriterion("o_shipping_code between", value1, value2, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingCodeNotBetween(String value1, String value2) {
            addCriterion("o_shipping_code not between", value1, value2, "oShippingCode");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyIsNull() {
            addCriterion("o_shipping_money is null");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyIsNotNull() {
            addCriterion("o_shipping_money is not null");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyEqualTo(Long value) {
            addCriterion("o_shipping_money =", value, "oShippingMoney");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyNotEqualTo(Long value) {
            addCriterion("o_shipping_money <>", value, "oShippingMoney");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyGreaterThan(Long value) {
            addCriterion("o_shipping_money >", value, "oShippingMoney");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyGreaterThanOrEqualTo(Long value) {
            addCriterion("o_shipping_money >=", value, "oShippingMoney");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyLessThan(Long value) {
            addCriterion("o_shipping_money <", value, "oShippingMoney");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyLessThanOrEqualTo(Long value) {
            addCriterion("o_shipping_money <=", value, "oShippingMoney");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyIn(List<Long> values) {
            addCriterion("o_shipping_money in", values, "oShippingMoney");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyNotIn(List<Long> values) {
            addCriterion("o_shipping_money not in", values, "oShippingMoney");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyBetween(Long value1, Long value2) {
            addCriterion("o_shipping_money between", value1, value2, "oShippingMoney");
            return (Criteria) this;
        }

        public Criteria andOShippingMoneyNotBetween(Long value1, Long value2) {
            addCriterion("o_shipping_money not between", value1, value2, "oShippingMoney");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeIsNull() {
            addCriterion("o_consign_time is null");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeIsNotNull() {
            addCriterion("o_consign_time is not null");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeEqualTo(Date value) {
            addCriterion("o_consign_time =", value, "oConsignTime");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeNotEqualTo(Date value) {
            addCriterion("o_consign_time <>", value, "oConsignTime");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeGreaterThan(Date value) {
            addCriterion("o_consign_time >", value, "oConsignTime");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("o_consign_time >=", value, "oConsignTime");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeLessThan(Date value) {
            addCriterion("o_consign_time <", value, "oConsignTime");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeLessThanOrEqualTo(Date value) {
            addCriterion("o_consign_time <=", value, "oConsignTime");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeIn(List<Date> values) {
            addCriterion("o_consign_time in", values, "oConsignTime");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeNotIn(List<Date> values) {
            addCriterion("o_consign_time not in", values, "oConsignTime");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeBetween(Date value1, Date value2) {
            addCriterion("o_consign_time between", value1, value2, "oConsignTime");
            return (Criteria) this;
        }

        public Criteria andOConsignTimeNotBetween(Date value1, Date value2) {
            addCriterion("o_consign_time not between", value1, value2, "oConsignTime");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageIsNull() {
            addCriterion("o_buyer_message is null");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageIsNotNull() {
            addCriterion("o_buyer_message is not null");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageEqualTo(String value) {
            addCriterion("o_buyer_message =", value, "oBuyerMessage");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageNotEqualTo(String value) {
            addCriterion("o_buyer_message <>", value, "oBuyerMessage");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageGreaterThan(String value) {
            addCriterion("o_buyer_message >", value, "oBuyerMessage");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageGreaterThanOrEqualTo(String value) {
            addCriterion("o_buyer_message >=", value, "oBuyerMessage");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageLessThan(String value) {
            addCriterion("o_buyer_message <", value, "oBuyerMessage");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageLessThanOrEqualTo(String value) {
            addCriterion("o_buyer_message <=", value, "oBuyerMessage");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageLike(String value) {
            addCriterion("o_buyer_message like", value, "oBuyerMessage");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageNotLike(String value) {
            addCriterion("o_buyer_message not like", value, "oBuyerMessage");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageIn(List<String> values) {
            addCriterion("o_buyer_message in", values, "oBuyerMessage");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageNotIn(List<String> values) {
            addCriterion("o_buyer_message not in", values, "oBuyerMessage");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageBetween(String value1, String value2) {
            addCriterion("o_buyer_message between", value1, value2, "oBuyerMessage");
            return (Criteria) this;
        }

        public Criteria andOBuyerMessageNotBetween(String value1, String value2) {
            addCriterion("o_buyer_message not between", value1, value2, "oBuyerMessage");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}